import axios from "@/utils/request.js";
// 添加床位
export const bedtableAddReq = (params) =>
  axios({
    url: "/bedtable/add",
    params,
    method: "get",
  });
//床位列表
export const bedtableListReq = (params) =>
  axios({
    url: "/bedtable/list",
    params,
    method: "get",
  });
// 搜索床位
export const bedtableSearchReq = (params) =>
  axios({
    url: "/bedtable/search",
    params,
    method: "get",
  });
//单个删除床位
export const bedtableDelReq = (params) =>
  axios({
    url: "/bedtable/del",
    params,
    method: "get",
  });
// 编辑床位 /bedtable/edit
export const bedtableEditReq = (params) =>
  axios({
    url: "/bedtable/edit",
    params,
    method: "get",
  });
//批量删除床位 /bedtable/batchdel
export const bedtableBatchdelReq = (params) =>
  axios({
    url: "/bedtable/batchdel",
    params,
    method: "get",
  });
